<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.*"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h1>登录成功！</h1>
	<h2>欢迎${sessionScope.user.xm}登录，你的登录信息如下：</h2>
	姓名：${user.xm}
	<br>年龄：${user.age}
	<br>爱好：
	<c:forEach items="${user.hobby}" var="x">${x} </c:forEach><br>
	<a href="form.jsp">查看所有登记表</a><br>
	<a href="destory.jsp">返回主页继续登记</a>
	<%-- ${Arrays.toString(user.hobby)} --%>
</body>
</html>